//
//  MineCotentListView.h
//  WeCommunity
//
//  Created by mac on 2017/6/15.
//  Copyright © 2017年 lzy. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ContactModel.h"
#import "MineContentListModel.h"

#import "MineContentListCell.h"
#import "MinePersonInfoCell.h"
#import "MineListSpaceCell.h"

#define NULL_ROW1_Height 16
#define NULL_ROW2_Height 21
#define Row1_Height 88
#define Row2_Height 44

@protocol MineCotentListDelegate <NSObject>

@optional
-(void)mineCotentListViewSelectRowAtIndex:(NSInteger)index;

@end

@interface MineCotentListView : UIView

@property (nonatomic,assign) id<MineCotentListDelegate> delegate;

@property (nonatomic,strong) NSMutableArray * listArray;

@property (nonatomic,strong) UITableView * tableView;

@property (nonatomic,strong) ContactModel * contact;

-(instancetype)initWithFrame:(CGRect)frame;

-(void)reloadWithData;

-(CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath;

-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;

@end
